<include file="Base:common_head" />
<div id="bd">
    <div class="left1">
        <include file="User:leftmenu" />
    </div>
    <div class="right1">
    	<div class="form">
        	<form action="__URL__/changepwd_do" method="post">
            	<h3>修改密码</h3>
                <ul>
                <li><label>原始密码</label><input type="password" style="margin-right:10px;" id="name" name="old_pwd" /></li>
                <li><label>新&nbsp;密&nbsp;码</label><input type="password" id="new_pwd" name="new_pwd" /></li>
                <li><label>确认新密码</label><input style="margin-right:10px;" type="password" id="cfm_new_pwd" name="cfm_new_pwd" /><div id="checkpwd"></div></li>
                <li><input type="submit" class="btn" value="保存" /></li>
                </ul>
            </form>        
            <script type="text/javascript">
				$("#cfm_new_pwd").blur(function(){
					if($(this).val()!=$("#new_pwd").val()){
						$("#checkpwd").html("<span style='background:url(/Public/images/no.gif) no-repeat 0 center; height:30px; line-height:30px; padding-left:19px;'>两次密码输入不一致</span>");
						$(".btn").attr("disabled",true);
						}
					else{
						$("#checkpwd").html("");
						$(".btn").removeAttr("disabled");
						}	
					});		
			</script>  
        </div>
    </div>
</div>
</body>
</html>
